﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Configuration;

namespace MxTol.UI.Controllers
{
    /// <summary>
    /// 财经法规题库管理索引页面
    /// </summary>
    public class FrManagementController : Controller
    {
        // 题库管理索引页面
        public ActionResult IndexView()
        {
            if (Session["account"] == null)
            {
                string script = string.Format("<script>window.top.location='{0}'</script>", ConfigurationManager.AppSettings["LoginUrl"]);
                return Content(script);
            }
            else
            {
                return View();
            }
        }
    }
}
